By routing a filtered, grouped, ordered and paged read request over Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to obtain IGrouping<object, TEntity> aggregations composed of all TEntity entities in the read segment defined by Paging and in compliance with the filtering criteria, then grouped according to the grouping criteria and finally sorted in the order defined by the OrderingCriteria<TEntity> set.

Namespace: Keystone.Carbonite.Entity
Assembly: Keystone.Carbonite.Entity (in Keystone.Carbonite.Entity.dll)

protected override IEnumerable<IGrouping<object, TEntity>> OnGet( 
Func<TEntity, bool> filteringCriteria
Func<TEntity, object> groupingCriteria
IEnumerable<OrderingCriteria<IGrouping<object, TEntity>>> orderingCriteria
PagingCriteria pagingCriteria 
)
This language is not supported or no code example is available.

Parameters

filteringCriteria

Type: Func<TEntity, bool>

The filtering criteria.

groupingCriteria

Type: Func<TEntity, object>

The grouping criteria.

orderingCriteria

Type: IEnumerable<OrderingCriteria<IGrouping<object, TEntity>>>

The ordering criteria.

pagingCriteria

Type: PagingCriteria

The paging criteria.

Return Value

The requested entity aggregations in the read segment, ordered.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono